@extends('base')
@section('content')
    <div data-am-widget="slider" class="am-slider am-slider-a1" data-am-slider='{&quot;directionNav&quot;:false}'>
        <ul class="am-slides">
            <li>
                <img src="{{url('/image/ban6.jpg')}}">
            </li>
            <li>
                <img src="{{url('/image/ban3.jpg')}}">
            </li>
            <!--<li>
                <img src="./image/ban1.jpg">
            </li>-->
        </ul>
    </div>
    <div class="inside_pages clearfix">

        <div class="mar_auto">
            <div class="in_left float_l">
                <h2 class="font24 t_big"><b>{{$items['name']}}</b></h2>
                <p class="font24 t_big1">equipment</p>
                <img src="/image/tie_suo.jpg" width="179" height="14">
                <p><img src="/image/map_img.jpg" width="183" height="174"></p>
                <div class="in_phone">
                    <p class="y_1 color_3">{{$setting['tel']}}</p>
                    <span class="y_2">欢迎您来电咨询</span>
                </div>
            </div>

            <div class="in_right float_l">
                <div class="you_position">现在的位置：<a href="{{url('/index')}}">首页</a> &gt; {{$items['name']}}</div>
                <h2 class="font24 y_3">equipment</h2>
                <h3 class="z_1">{{$items['name']}}</h3>
                <div class="pro_nr font14">
                    <ul class="pro_list clearfix">
                        @foreach($list as $item)
                            <li>
                                <a href="{{url('/equipment/'.$item->id)}}" class="color_3">
                                    <img src="{{asset("/img/".$item->type.'-'.json_decode($item->content)->pic.'/'.Config::get('site.items.equipment.data.pic.value'))}}">
                                    <p>{{$item->name}}</p>
                                </a>
                            </li>
                        @endforeach
                    </ul>
                </div>
                <div class="page tc clearfix">
                    {!! $list->render() !!}
                    {{--
                    <a href="{{$list->previousPageUrl()}}" class="prev"><em></em>上一页{{$list->last_page()}}</a>
                    <span>1</span>
                    <a href="#">2</a>
                    <a href="#">3</a>
                    <a href="#">4</a>
                    <a href="#">23</a>
                    <a href="{{$list->nextPageUrl()}}" class="next">下一页<em></em></a></div>--}}
                </div>
            </div>
        </div>
@stop